package com.zt.dev.physicalequipment.mapper;

import com.zt.dev.physicalequipment.pojo.PhysicalEquipment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PhysicalEquipmentMapper {

    int insert(PhysicalEquipment equipment);

    int update(PhysicalEquipment equipment);

    int delete(Integer id);

    int deletes(Integer[] ids);

    List<PhysicalEquipment> getAll();

    PhysicalEquipment getById(Integer id);

	PhysicalEquipment getByName(String equipmentName);
}
